import { request } from '@/utils/request';
/**
 * @description 获取
 */
export async function validateCaptcha(data: API.ValidateDto) {
  return request({
    url: '/admin/validate',
    method: 'post',
    data: data,
  });
}
export async function refreshCaptcha() {
  return request({
    url: 'admin/captcha',
    method: 'get',
  });
}
